home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
utils
/
c.arj
/
C.DOC
< prev
next >
Wrap
Text File
|
1993-12-09
|
7KB
|
140 lines
C - RAPID CHANGE DIRECTORY ROUTINE
Copyright (C) 1989-1993 Eric N. Miller All rights reserved.
The C program is a routine that allows you to move among
subdirectories rapidly without needing to worry about using full
subdirectory names or specifying wildcard characters.
The C program assumes that any name specification has an implicit
*.* following the portion that the user types. For example, the
command C WIN is interpreted as: Change to the first subdirectory
that fits the specification WIN*.*
The C program does not store any information such as the
directory structure on your hard disk. This means that a
particularly convoluted path such as:
C:\WINDOWS\SYSTEM\FONTS\TRUETYPE\DECORATIVE
might take a long time to locate if you enter the command C DEC.
On the other hand, the program is quite fast when searching for
first and second tier subdirectories. Also, you can specify
multiple fragments of subdirectory names on the command line to
speed up your searches. For example, the command C WIN SYS FON
TRU DEC would take you almost immediately to the DECORATIVE
subdirectory.
The C program works quickly by searching for the most logical
directory changes first, followed by less likely alternatives.
For example, the program looks first for a direct match, then
searches immediately above and below the current directory.
The C program can essentially be used as a full replacement for
the CD command, since it incorporates all of the functionality of
the CD command with the added "fuzzy logic" features of using
partial directory names.
----------------------------------------------------------------
Usage:
C <subdir> changes to specified subdirectory (you can
use partial names)
C <drive> changes to drive letter (e.g., C C:, C D:,
etc.)
C moves to next level up in the directory
structure
C <subdir> /ALL searches for all possible directory matches
C /HELP produces a help screen
The C program will look through the current drive, then all
contiguous hard drives letters beginning with C. The program only
searches contiguous drives beginning with Drive C. It will not
search out Network drives or DoubleSpace Host drives that are
separated from Drive C by illegal drive letters. It will,
however, search the current drive, no matter what the drive
letter is.
Other features:
You can abort the search by pressing the Escape key. This is
particularly helpful if you realize you misspelled the
subdirectory name and you don't want to spend a lot of time
searching through all of the directories on your hard disk!
You can switch to a different drive specifying the drive letter
(e.g., C D:). When using the DOS drive letter, the user also can
include partial subdirectory information (e.g., C D:\DOWN will
find D:\DOWNLOAD).
You can use wildcards according to traditional DOS criteria
(e.g., C WIN* or WIN? to search for WINDOWS). You also can
specify that the search string can be anywhere in the
subdirectory name by prefacing the search string with an * (for
example, C *DOWS will find the WINDOWS subdirectory).
You can enter multiple subdirectory name fragments (for example,
C WIN SYS to search for C:\WINDOWS\SYSTEM). Different segments
can be separated by spaces or by the \ symbol (e.g., C \WIN\SYS).
Multiple fragments are treated as multiple searches (e.g., C WIN
BAR is equivalent to C WIN followed by C BAR. Keep in mind that,
because of the "fuzzy" search methods used in this program, you
may sometimes see unexpected results. This is because the C
program searches for the first and best possible match on each
successive search. Keep in mind that the first and best match is
not necessarily the match you anticipated! Further, a bad match
on the first search may lead to a completely unexpected match on
the second search. For example, imagine that you have if you
want to switch to \WINDOWS\WPWIN and you enter C WIN WP, the
program might transfer initially to a directory called \WINTER,
and from there transfer to a directory called WP51, leaving you
with the unanticipated result of having switched to \WP51!
THIS IS NOT FREE SOFTWARE! If you have not registered, you may
do so by sending $7.50 to: Eric N. Miller; P.O. Box 84499; Los
Angeles, CA 90073. If you are using a credit card, you can FAX
your order to (310) 202-9431 (include your Visa or MasterCard card
number, expiration date, and signature). Unless otherwise
requested, programs are provided on 5¼" diskettes. Programs also
are available on 3½" diskettes.
Registered users get a more compact version of the C program that
does not include the random message to register the software.
Some Rules and Regulations:
You may distribute the ShareWare version of C (Change Directory)
if you include the software, its documentation files, order form,
and all supplemental files as a single unit without any
modification and you satisfy the following conditions:
1. Private individuals are welcome to make copies for their
friends or colleagues provided that no fee is charged.
2. Electronic bulletin boards or information services may post
the C (Change Directory) routine for downloading as long as
they do not charge a fee for distribution of the C routine.
3. Non-commercial user groups and computer clubs may distribute
the program if the fee charged for the diskette does not
exceed $10.
4. Disk vendors approved by the Association of Shareware
Professionals or disk vendors who explain the concept of
shareware in their ads may distribute the shareware version
of C (Change Directory).
5. Other commercial enterprises wishing to distribute the
C routine, either alone or in combination with other
hardware, software, books or materials, must obtain permission
in writing from the author.